
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.VipTask;

public interface VipTaskDao extends Dao {

    /**
     * Retrieves all of the vipTasks
     */
    public List getVipTasks(VipTask vipTask);

    /**
     * Gets vipTask's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the vipTask's id
     * @return vipTask populated vipTask object
     */
    public VipTask getVipTask(final Integer id);

    /**
     * Saves a vipTask's information
     * @param vipTask the object to be saved
     */    
    public int saveVipTask(VipTask vipTask);

    /**
     * Removes a vipTask from the database by id
     * @param id the vipTask's id
     */
    public void removeVipTask(final Integer id);
    
    public int getVipTaskMaxId();
}

